treeview: Add a few missing annotations
authorMatthias Clasen <mclasen@redhat.com>
Sun, 6 Jun 2021 12:24:52 +0000 (08:24 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 6 Jun 2021 12:24:52 +0000 (08:24 -0400)
gtk_tree_view_row_activated and the ::row-activated signal
can (and do) receive NULL for the column occasionally.

This is an introspection api change.

Fixes: #3828
gtk/gtktreeview.c

index bf8b05a435ee0508abda232ab7aef72cd2f20eac..17fe30305ee1dc560ba9d254b519096437398bb6 100644 (file)
@@ -1167,7 +1167,7 @@ gtk_tree_view_class_init (GtkTreeViewClass *class)
    * GtkTreeView::row-activated:
    * @tree_view: the object on which the signal is emitted
    * @path: the `GtkTreePath` for the activated row
-   * @column: the `GtkTreeViewColumn` in which the activation occurred
+   * @column: (nullable): the `GtkTreeViewColumn` in which the activation occurred
    *
    * The "row-activated" signal is emitted when the method
    * gtk_tree_view_row_activated() is called, when the user double
@@ -11283,7 +11283,7 @@ gtk_tree_view_scroll_to_cell (GtkTreeView       *tree_view,
  * gtk_tree_view_row_activated:
  * @tree_view: A `GtkTreeView`
  * @path: The `GtkTreePath` to be activated.
- * @column: The `GtkTreeViewColumn` to be activated.
+ * @column: (nullable): The `GtkTreeViewColumn` to be activated.
  *
  * Activates the cell determined by @path and @column.
  **/